package touchtouch.geometry;

final public class GeometryToolkit{

	/****************** AREA *****************/
	/**
	 * return the area of a triangle
	 */
	/*public float getTriangleArea(Point p1, Point p2, Point p3){

	}*/

	/****************** PERIMETER *****************/
	public double distance(Point p1, Point p2){
		double w = Math.abs(p1.x - p2.x);
		double h = Math.abs(p1.y - p2.y);
		return Math.hypot(w, h);
	}


	/****************** ANGLE *****************/


}
